package usb.panduanzhishu;
import java.util.Scanner;
public class ZHIshuTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ZHIshu zhishu = new ZHIshu();
        System.out.println("请输入数字：");
        int num=sc.nextInt();
        boolean  flag = zhishu.zhishu(num);
        if(flag){
            System.out.println("是质数");
        }else {
            System.out.println("不是质数");
        }

    }
}
